package com.yaoq.factory.simple;

/**
 * @ClassName Client
 * @Description TODO
 * @Author yaoqiang
 * @Date 2020/9/18 14:36
 * @Version 1.0
 */
public class Client {
    public static void main(String[] args) {
        Factory factory = new Factory();
        Product pa = Factory.createProduct(1);
        System.out.println(pa.getName());
    }
}
